import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/*this class is a single cloister of musical notes*/
public class MusicItem implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private List<Note> cloister;//the actual list of Notes saved as the song in the MusicFile

	public MusicItem(){
		this.cloister = new LinkedList<Note>();
	}
	public MusicItem(List<Note> cloister){
		this.cloister = cloister;
	}
	
	public List<Note> getCloister(){
		return this.cloister;
	}
	
	public void setCloister(List<Note> cloister){
		this.cloister = cloister;
	}
	
	public String toString(){
		return this.cloister.toString();
	}
}
